package com.stephen.dubbo.service;

import com.stephen.dubbo.entity.User;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * Created by ssc on 2021-02-28 22:33 .
 * Description:
 */
@DubboService
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(Integer id) {
        return new User(1,"小黑");
    }
}
